package com.gegao.somethinginteresting.injects;

import android.content.Context;

import com.gegao.somethinginteresting.activity.base.BaseActivity;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by Administrator on 2016/5/8.
 */
@Singleton
@Component(modules = ApplicationModule.class)
public interface ApplicationComponent {
    void inject(BaseActivity baseActivity);

    Context context();  // 提供Applicaiton的Context

//    ThreadExecutor threadExecutor();   // 线程池

//    ApiService apiService();  // 所有Api请求的管理类

//    SpfManager spfManager();  // SharedPreference管理类

//    DBManager dbManager();  // 数据库管理类
}
